package com.key.common.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Timestamp;

/*
*
 * @description:到期资产高级搜索
 * @author: jianjiawei
 * @date: 2023/2/22 14:16
 **/
@ApiModel(value = "到期资产条件查询")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EndAssetsFindDTO {
    @ApiModelProperty(name = "currentPage",notes = "当前页码数",required = true)
    private Integer currentPage;

    @ApiModelProperty(name = "pageSize",notes = "每页显示记录数",required = true)
    private Integer pageSize;

    @ApiModelProperty(name = "endDate",notes = "资产到期日期")
    private String endDate;

    @ApiModelProperty(name = "assetsState",notes = "资产状态(1:闲置，2:在用，3:损坏，4:报修，5:维修中，6:报废)")
    private Integer assetsState;

    @ApiModelProperty(name = "assetsSignatureStatus",notes = "资产签字状态")
    private String assetsSignatureStatus;

    @ApiModelProperty(name = "assetsCode",notes = "资产编码")
    private String assetsCode;

    @ApiModelProperty(name = "assetsName",notes = "资产名称")
    private String assetsName;

    @ApiModelProperty(name = "assetsRFID",notes = "资产的RFID")
    private String assetsRFID;

    @ApiModelProperty(name = "typeName",notes = "资产类别")
    private String typeName;

    @ApiModelProperty(name = "modelName",notes = "规格型号")
    private String modelName;

    @ApiModelProperty(name = "assetsSerialNumber",notes = "资产序列号(SN号)")
    private String assetsSerialNumber;

    @ApiModelProperty(name = "unit",notes = "计量单位")
    private String unit;

    @ApiModelProperty(name = "assetsMoney",notes = "资产金额",dataType = "BigDecimal")
    private BigDecimal assetsMoney;

    @ApiModelProperty(name = "departmentName",notes = "资产使用部门")
    private String departmentName;

    @ApiModelProperty(name = "employeeName",notes = "资产使用人")
    private String employeeName;

    @ApiModelProperty(name = "employeeId",notes = "资产使用人编号")
    private Integer employeeId;

    @ApiModelProperty(name = "assetsRegionName",notes = "资产区域名称")
    private String assetsRegionName;

    @ApiModelProperty(name = "assetsStorageLocation",notes = "资产存放地")
    private String assetsStorageLocation;

    @ApiModelProperty(name = "supplier",notes = "供应商")
    private String supplier;

    @ApiModelProperty(name = "assetsManager",notes = "资产管理员")
    private String assetsManager;

    @ApiModelProperty(name = "assetsAdmin",notes = "资产所属公司")
    private String assetsAdmin;

    @ApiModelProperty(name = "assetsPurchaseDate",notes = "资产购入日期",value = "yyyy-MM-dd")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
    private Timestamp assetsPurchaseDate;

}
